<?
	$CI =& get_instance();
	$CI->load->library('totals');
	$inquiry = $CI->totals->inquiry();
	$applicants = $CI->totals->applicants();
	$enrollees = $CI->totals->enrollees();
	$registrar_approved = $CI->totals->registrar_approved('all');
	$approved_enrolled = $CI->totals->approved_enrolled();
	$balanced_enrolled = $CI->totals->balanced_enrolled();
?>
<ul class="accordion side-nav">
	<h3 class="head ui-corner-toli side_menu"><a href="#">Students Search</a></h3>
    <ul>
		<li><a href="<?php echo site_url('search/inquiries'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Inquiries."':''; ?>>Inquiry <?php echo $inquiry!=0 ? '<span class="badge badge-info" id="inquiry">'.$inquiry.'</span>':'';?></a></li>
		<li><a href="<?php echo site_url('search/applicants'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Applicants to take a test."':''; ?>>Applicant <?php echo $applicants!=0 ? '<span class="badge badge-info" id="inquiry">'.$applicants.'</span>':'';?></a></li>
		<li><a href="<?php echo site_url('search/enrollees'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Students approved by guidance."':''; ?>>Enrollees <?php echo $enrollees!=0 ? '<span class="badge badge-info" id="inquiry">'.$enrollees.'</span>':'';?></a></li>
		<li><a href="<?php echo site_url('search/registrar_approved'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Students approved by registrar."':''; ?>>Registrar Verified <?php echo $registrar_approved!=0 ? '<span class="badge badge-info" id="inquiry">'.$registrar_approved.'</span>':'';?></a></li>
		<li><a href="<?php echo site_url('search/enrolled'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Students with payment."':''; ?>>Officially Enrolled <?php echo $approved_enrolled!=0 ? '<span class="badge badge-info" id="inquiry">'.$approved_enrolled.'</span>':'';?></a></li>
		<li><a href="<?php echo site_url('search/balance'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="List of student with balance."':''; ?>>Students w/Balance <?php echo $balanced_enrolled!=0 ? '<span class="badge badge-info" id="inquiry">'.$balanced_enrolled.'</span>':'';?></a></li>
	</ul>
	<h3 class="head side_menu"><a href="#">Filtering</a></h3>
	<ul>
		<li><a href="<?php echo site_url(); ?>master_list" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Contains masterlist by section. Has a print option."':''; ?>>Masterlist(Section) </a></li>
		<li><a href="<?php echo site_url('search/enrollmentlist'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Contains masterlist by nationality. Has a print option."':''; ?>>Student (Foreign/Not Foreign) </a></li>
		<li><a href="<?php echo site_url('search/by'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Alphabetically arranged list of students."':''; ?>>Filter Students By First/Last Name</a></li>
	</ul>
	<h3 class="head side_menu"><a href="#">Reports</a></h3>
	<ul>
		<li><a href="<?php echo site_url(); ?>finance/payment_report" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Generate payment report."':''; ?>>Payment Report</a></li>
		<li><a href="<?php echo site_url(); ?>finance/reports" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Show daily payment."':''; ?>>Daily/Yearly Payments</a></li>
		<li><a href="<?php echo site_url('fees/balance_report'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Generates remaining balace of students in PDF or Excel."':''; ?>>Remaining Balance Report</a></li>
		<li><a href="<?php echo base_url('excel_gen/student_profile_generator'); ?>" <?php echo @$this->tip->help_tip==='yes' || $this->tip==='' ? 'class="hint--top  hint--rounded" data-hint="Download student profile."':''; ?>>Download All Student Profile</a></li>
	</ul>
	<h3 class="head2 side_menu"><a href="#">---</a></h3>
</ul>
